package com.ruoyi.erp.mapper;

import java.util.List;
import com.ruoyi.erp.domain.BillSettleDetail;
import com.ruoyi.erp.domain.SettleMonthBill;
import com.ruoyi.erp.domain.SettlePo;

/**
 * 结算明细Mapper接口
 * 
 * @author sauger
 * @date 2022-03-25
 */
public interface BillSettleDetailMapper 
{
    /**
     * 查询结算明细
     * 
     * @param settleId 结算明细主键
     * @return 结算明细
     */
    public BillSettleDetail selectBillSettleDetailById(Integer settleDetailId);

    /**
     * 查询结算明细列表
     * 
     * @param billSettleDetail 结算明细
     * @return 结算明细集合
     */
    public List<BillSettleDetail> selectBillSettleDetailList(BillSettleDetail billSettleDetail);

    /**
     * 新增结算明细
     * 
     * @param billSettleDetail 结算明细
     * @return 结果
     */
    public int insertBillSettleDetail(BillSettleDetail billSettleDetail);

    /**
     * 修改结算明细
     * 
     * @param billSettleDetail 结算明细
     * @return 结果
     */
    public int updateBillSettleDetail(BillSettleDetail billSettleDetail);

    /**
     * 删除结算明细
     * 
     * @param settleId 结算明细主键
     * @return 结果
     */
    public int deleteBillSettleDetailById(Integer settleDetailId);

    /**
     * 批量删除结算明细
     * 
     * @param settleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBillSettleDetailBySettleIds(String[] settleIds);

    public List<SettleMonthBill> selectSettleMonthBillBySettleId(Integer settleId);

    public List<SettlePo> selectSettlePoBySettleId(Integer settleId);
}
